package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

/**
 * @author ：zfr
 * @date ：2021/12/13 14:26
 */
@FieldTypeAnnotation(tableName = "t_l_ck_npc_talk", desc = "商铺小人二选一事件", autoSave = true, uploadCk = true)
public class LogNpcTalk extends ServerBaseLog{
    @FieldTypeAnnotation(isIndex = true,desc = "玩家id")
    private long userId;
    @FieldTypeAnnotation(desc = "类型")
    private int type;
    @FieldTypeAnnotation(desc = "事件id")
    private int eventId;
    @FieldTypeAnnotation(desc = "选择")
    private int choose;
    @FieldTypeAnnotation(desc = "奖励")
    private String reward;

    public LogNpcTalk(long userId, int type, int eventId, int choose, String reward, Date time) {
        this.userId = userId;
        this.type = type;
        this.eventId = eventId;
        this.choose = choose;
        this.reward = reward;

    }

    public long getUserId() {
        return userId;
    }

    public int getType() {
        return type;
    }

    public int getEventId() {
        return eventId;
    }

    public int getChoose() {
        return choose;
    }

    public String getReward() {
        return reward;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public void setType(int type) {
        this.type = type;
    }

    public void setEventId(int eventId) {
        this.eventId = eventId;
    }

    public void setChoose(int choose) {
        this.choose = choose;
    }

    public void setReward(String reward) {
        this.reward = reward;
    }
}
